<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@include file="/WEB-INF/pages/common.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>top</title>
    
<link rel="stylesheet" href="${pageContext.request.contextPath}/style/nav.css">
<script type="text/javascript">

</script>
  
<body class="no-js">
<p align="right" style="margin-bottom: 0px; margin-right:5px;: 16px;">当前用户：${currentUser.realName} </p>
    	<script>
			var el = document.getElementsByTagName("body")[0];
			el.className = "";
		</script>
        <noscript>
        	<!--[if IE]>
            	<link rel="stylesheet" href="style/ie.css">
            <![endif]-->
        </noscript>
		<nav id="topNav">
        	<ul>
          		<li><a href="javascript:void(0);" title="教师管理">教师管理</a>
          	
                	<ul>
                    	<li><a href="${pageContext.request.contextPath}/com/stranger/index/indexAction_initInsert.action" target="mainFrame">添加教师信息</a></li>
						<li><a href="#">修改教师信息</a></li>
						<li><a href="#">删除信息信息</a></li>
						<li><a target="mainFrame" href="${pageContext.request.contextPath}/com/stranger/index/indexAction_initQueryTeacher.action">查询教师信息</a></li>
						<li><a href="#">显示学生信息</a></li>
						<li><a href="#">查询学生成绩</a></li>
						<li><a href="#">单科成绩排名</a></li>
						<li><a href="#">班级成绩排名</a></li>
<!--                        <li class="last"><a href="#" title="Sub Nav Link 5">Sub Nav Link 5</a></li>-->
                    </ul> 
                         
                </li>
              <li><a href="javascript:void(0);" title="学生信息管理">学生信息管理</a>
              	<ul>
		            <li><a href="#">显示学生信息</a></li>
					<li><a href="#">修改学生信息</a></li>
					<li><a href="#">添加学生信息</a></li>
					<li><a href="#">删除学生信息</a></li>
              		
              	</ul>
              </li>
              <li><a href="javascript:void(0);" title="学生成绩管理">学生成绩管理</a>
              <ul>
				    <li><a href="#">录入学生成绩</a></li>
					<li><a href="#">修改学生成绩</a></li>
					<li><a href="#">删除学生成绩</a></li>
					<li><a href="#">查询学生成绩</a></li>
					<li><a href="#">所有成绩排名</a></li>
					<li><a href="#">单科成绩排名</a></li>
              		
              	</ul>
              
              </li>
             
          </ul>
        </nav>
       
		<script src="${pageContext.request.contextPath}/scripts/jquery/jquery-1.7.2.min.js"></script>
        <script src="${pageContext.request.contextPath}/scripts/modernizr.js"></script>
		<script>
			(function($){
				
				//cache nav
				var nav = $("#topNav");
				
				//add indicator and hovers to submenu parents
				nav.find("li").each(function() {
					if ($(this).find("ul").length > 0) {
						$("<span>").text("^").appendTo($(this).children(":first"));

						//show subnav on hover
						$(this).mouseenter(function() {
							$(this).find("ul").stop(true, true).slideDown();
						});
						
						//hide submenus on exit
						$(this).mouseleave(function() {
							$(this).find("ul").stop(true, true).slideUp();
						});
					}
				});
			})(jQuery);
		</script>
	</body>
</html>